<%-- 
    Document   : top
    Created on : Apr 25, 2011, 2:16:13 PM
    Author     : Dine
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>

<s:div id="topContainer" cssClass="ui-widget-content ui-corner-all">
    <span id="profile"> 
        <table style="font-size: 12px">
            <tr><td width="250px">User Type: </td><td width="250px">Employee Name:</td> <td width="200px">Date:</td><td width="200px">Time:</td></tr>
            <tr>
                <td>
                    <strong><s:property value="#session.usertype.type"/></strong>
                </td>
                <td>
                    <strong>
                        <s:property value="#session.employee.firstname"/>
                        <s:property value="#session.employee.lastname"/>
                    </strong>
                </td>
                <td>
                    <strong><span id="date"></span></strong>
                </td>
                <td>
                    <strong><span id="time"></span></strong>
                </td>
            </tr>
        </table>
        <!--            of Cashmate-->
        <%--<s:property value="#session.branch.branchname"/>--%>
    </span>
    <div id="formResult"></div>
    <s:url action="logout" var="logoutLink"/>
    <sj:a button="true" href="%{logoutLink}" id="logoutButton" targets="formResult">Sign Out</sj:a>

</s:div>
